var express = require('express');
var router = express.Router();
var { hasOne, belongsTo, belongsToMany, hasMany } = require('./assocs');
var { getTree, cetGetTree } = require('./hierarchy');


router.get('/belongsTo', belongsTo);
router.get('/hasOne', hasOne);
router.get('/belongsToMany', belongsToMany);
router.get('/hasMany', hasMany);
router.get('/getTree', getTree);
router.get('/cetGetTree', cetGetTree);
module.exports = router; 